projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b01d54
)
Workaround rls's regusal to treat nil as empty json object
author
João Távora
<joaotavora@gmail.com>
Fri, 4 May 2018 10:54:06 +0000
(11:54 +0100)
committer
João Távora
<joaotavora@gmail.com>
Fri, 4 May 2018 10:54:06 +0000
(11:54 +0100)
* eglot.el (eglot--connect): Use dummy params.
lisp/progmodes/eglot.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/eglot.el
b/lisp/progmodes/eglot.el
index 0300ad3da09bf4109865250ea117fbf86f508cbf..8f371d2011bf47dd561f1883c4210a34550c0f95 100644
(file)
--- a/
lisp/progmodes/eglot.el
+++ b/
lisp/progmodes/eglot.el
@@
-229,7
+229,7
@@
SUCCESS-FN with no args if all goes well."
(setf (eglot--capabilities proc) capabilities)
(setf (eglot--status proc) nil)
(when success-fn (funcall success-fn proc))
- (eglot--notify proc :initialized
nil
))))))))
+ (eglot--notify proc :initialized
(eglot--obj :__dummy__ t)
))))))))
(defvar eglot--command-history nil
"History of COMMAND arguments to `eglot'.")